﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PhotoList.aspx.cs" Inherits="Manager_PhotoList" %>
<%@ Import Namespace="System.Linq" %>
<%@ Import Namespace="System.Data" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>图集管理</title>
    <link href="/Manager/css/admin.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="/Manager/js/jquery-1.6.1.min.js"></script>
</head>
<body>
    <div class="titlebt">图集管理</div>
    <div>
        <!--显示列表s-->
        <div id="all">
            <div class="k_all3">
                <table width="100%" cellpadding="0" cellspacing="0" id="bk">
                    <tbody>
                        <tr>
                            <th width="5%">
                                图集Id
                            </th>
                            <th width="20%">
                                图集名称
                            </th>
                            <th width="10%">
                                操作
                            </th>
                        </tr>
                        <% 
                            if (ds != null && ds.Tables.Count > 0)
                            {
                                foreach (DataRow dr in ds.Tables[0].Rows)
                                { 
                        %>
                        <tr>
                            <td>
                                <%=dr["C_Id"]%>
                            </td>
                            <td>
                                <%=dr["C_Name"]%>
                            </td>
                            <td>
                                <a href="PhotoEdit.aspx?id=<%=dr["C_Id"]%>" style="color: Black;">[图片管理]</a>
                            </td>
                        </tr>
                        <% 
                                }
                            }            
                        %>
                    </tbody>
                </table>
            </div>
        </div>
        <!--显示列表e-->
    </div>
</body>
</html>